package 
{
	import com.starling.control.MainControl;
	import com.starling.view.MainView;
	
	import flash.display.Sprite;

	public class Manage
	{
		private static var _container:Sprite;
		private static var _mainView:MainView;
		private static var _mainControl:MainControl;
		
		
		/**
		 * 主页UI 
		 * @return 
		 * 
		 */		
		public static function get mainView():MainView
		{
			if(!_mainView)
				_mainView = new MainView();
			return _mainView;
		}
		
		
		
		
		/**
		 * 主控 
		 * @return 
		 * 
		 */		
		public static function get mainControl():MainControl
		{
			if(!_mainControl)
				_mainControl = new MainControl();
			return _mainControl;
		}
		
		
		
		
		/**
		 * 用于临时存放显示对象，测量坐标的容器 
		 * @return 
		 * 
		 */		
		public static function get container():Sprite
		{
			if(!_container)
				_container = new Sprite();
			return _container;
		}
	}
}